package com.gzu.ltms.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serial;

/**
 * 配送员月度绩效表 实体类。
 *
 * @author mm
 * @since 2025-05-06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(value = "courier_performance")
public class CourierPerformance implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 绩效id
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

    /**
     * 配送员id
     */
    private Long courierId;

    /**
     * 统计月份
     */
    private String month;

    /**
     * 平均响应时间（分钟）
     */
    private Integer avgResponseTime;

    /**
     * 客户评分
     */
    private Long score;

}
